﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Fdb.Model
{
    /// <summary>
    /// 字段属性类
    /// 范叶勇
    /// 2016-06-25 上午10时34分
    /// </summary>
    public class FieldClass
    {
        /// <summary>
        /// 表类型
        /// </summary>
        public string TableType { get; set; }
        /// <summary>
        /// 表名称
        /// </summary>
        public string TableName { get; set; }
        /// <summary>
        /// 表中文名
        /// </summary>
        public string TableCNName { get; set; }
        /// <summary>
        /// 字段中文名
        /// </summary>
        public string FieldCNName { get; set; }
        /// <summary>
        /// 字段名称
        /// </summary>
        public string FieldName { get; set; }
        /// <summary>
        /// 字段类型
        /// </summary>
        public int FieldType { get; set; }
        /// <summary>
        /// 字段类型名称
        /// </summary>
        public string FieldTypeName { get; set; }
        /// <summary>
        /// 字段小数位
        /// </summary>
        public int FieldScale { get; set; }
        /// <summary>
        /// 字段整数位
        /// </summary>
        public int FieldPrecision { get; set; }
        /// <summary>
        /// 字段长度
        /// </summary>
        public int FieldLength { get; set; }
        /// <summary>
        /// 是否为主键
        /// </summary>
        public bool IsPrimaryKey { get; set; }
        /// <summary>
        /// 是否可为空
        /// </summary>
        public bool Nullable { get; set; }
    }
}
